{% extends 'base.html' %}
{% block title %}{{constituency.name}}{% endblock %}

{% block content %}

<p style="float:right;"><a href='http://www.theyworkforyou.com/mp/?c={{constituency.name|urlencode}}'>visit {{constituency.name}} at TheyWorkForYou.com</a></p>
<h1>{{constituency.name}}</h1>

<p>
 {% ifequal constituency.customuser_set.count 1 %}
  You're the only volunteer here so far.
 {% else %}
   There are {{constituency.customuser_set.count}} volunteers here.
 {% endifequal %}
</p>
<div class="span-4">
<h2>Help us get better coverage</h2>
<p>The markers on this map mark the centres of nearby constituencies where we don't currently have any volunteers. If you know anyone who might live there, please <a href="/invite/">invite them</a> and help us get volunteers in the whole country!</p>  
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.uk/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=http:%2F%2Fwww.democracyclub.org.uk%2Fmap%2Ffewerthan%2F1%2Fgeo.rss&amp;sll=&amp;sspn={{latspan}},{{lonspan}}&amp;ie=UTF8&amp;ll={{constituency.lat}},{{constituency.lon}}&amp;spn={{latspan}},{{lonspan}}&amp;z=&amp;output=embed"></iframe><br /><small><a href="http://maps.google.co.uk/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=http:%2F%2Fwww.democracyclub.org.uk%2Fmap%2Ffewerthan%2F1%2Fgeo.rss&amp;sll=53.800651,-4.064941&amp;sspn=16.261859,33.618164&amp;ie=UTF8&amp;ll={{constituency.lat}},{{constituency.lon}}&amp;spn={{latspan}},{{lonspan}}&amp;z=10" style="color:#0000FF;text-align:left">View Larger Map</a></small>
</div>
<div class="span-4 last">

</div>

{% endblock %}
